<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            display: flex;
            justify-content: center;
            align-items: center;
            height: 90vh;
        }
        .popup{
            padding: 20px 40px;
            border: 2px solid black;
        }
        .info{
            text-align: center;
        }

        @media screen and (max-width: 1000px) {
            .popup{
                font-size: 14px;
            }
        }
        @media screen and (max-width: 700px) {
            .popup{
                font-size: 12px;
            }
        }
    </style>
</head>
<body>
    <div class="popup">
        <div class="info">
            <h1>Не удалось подключится к базе данных</h1>
            <p><?= $e->getMessage() ?></p>
        </div>
    </div>
</body>
</html>